package com.mdh;

import java.util.Random;

/**
 * @author mac
 * @date 2021/9/9 5:20 下午
 */
public class IdGenerateService {

    private Long workId;

    public IdGenerateService(Long workId) {
        this.workId = workId;
    }

    public Long generate() {
        return new Random().nextInt(100) + this.workId;
    }

}
